Skip to content

Adding New Lion:Bit STEM Board #8569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 30, 2023
Merged

Conversation

PradeepKotu
Copy link
Contributor

Description of Change

LionBit.cc introduces their latest development: the LionBit S3 STEM board, built around the powerful ESP32-S3. We kindly request the addition of this board to the official list of supported boards

Tests scenarios

Tested and already in the market

Related links

www.lionbit.cc

Added New LionBit Board Details
@PradeepKotu
Copy link
Contributor Author

@atanisoft @P-R-O-C-H-Y please check

@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Aug 28, 2023
Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PradeepKotu Please take a look on my comments.

boards.txt Outdated
Comment on lines 24163 to 24173
lionbits3.menu.JTAGAdapter.default=Disabled
lionbits3.menu.JTAGAdapter.default.build.copy_jtag_files=0
lionbits3.menu.JTAGAdapter.builtin=Integrated USB JTAG
lionbits3.menu.JTAGAdapter.builtin.build.openocdscript=lionbits3-builtin.cfg
lionbits3.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.external=FTDI Adapter
lionbits3.menu.JTAGAdapter.external.build.openocdscript=lionbits3-ftdi.cfg
lionbits3.menu.JTAGAdapter.external.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.bridge=ESP USB Bridge
lionbits3.menu.JTAGAdapter.bridge.build.openocdscript=lionbits3-bridge.cfg
lionbits3.menu.JTAGAdapter.bridge.build.copy_jtag_files=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work as you don't provide new configs. You need to leave the original JTAG configs from ESP32S3 Dev board.

Suggested change
lionbits3.menu.JTAGAdapter.default=Disabled
lionbits3.menu.JTAGAdapter.default.build.copy_jtag_files=0
lionbits3.menu.JTAGAdapter.builtin=Integrated USB JTAG
lionbits3.menu.JTAGAdapter.builtin.build.openocdscript=lionbits3-builtin.cfg
lionbits3.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.external=FTDI Adapter
lionbits3.menu.JTAGAdapter.external.build.openocdscript=lionbits3-ftdi.cfg
lionbits3.menu.JTAGAdapter.external.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.bridge=ESP USB Bridge
lionbits3.menu.JTAGAdapter.bridge.build.openocdscript=lionbits3-bridge.cfg
lionbits3.menu.JTAGAdapter.bridge.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.default=Disabled
lionbits3.menu.JTAGAdapter.default.build.copy_jtag_files=0
lionbits3.menu.JTAGAdapter.builtin=Integrated USB JTAG
lionbits3.menu.JTAGAdapter.builtin.build.openocdscript=esp32s3-builtin.cfg
lionbits3.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.external=FTDI Adapter
lionbits3.menu.JTAGAdapter.external.build.openocdscript=esp32s3-ftdi.cfg
lionbits3.menu.JTAGAdapter.external.build.copy_jtag_files=1
lionbits3.menu.JTAGAdapter.bridge=ESP USB Bridge
lionbits3.menu.JTAGAdapter.bridge.build.openocdscript=esp32s3-bridge.cfg
lionbits3.menu.JTAGAdapter.bridge.build.copy_jtag_files=1

Comment on lines 104 to 108

//-------------------------------------------------------------------



Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this empty part.

Suggested change
//-------------------------------------------------------------------
//-------------------------------------------------------------------

static const uint8_t U1RX = 9; //I/O U1RX GPIO9
static const uint8_t U1TX = 10; //I/O U1TX GPIO10
/* LionBits3 pin setup */
static const uint8_t D0 = 3; //RX, GPIO3, MCPWM, U0RXD_in,U0CTS_in,U0DSR_in,U0TXD_out,UoRTS_out,U1RXD_in,U1CTS_in,U1DSR_in,U1TXD_out,U1RTS_out,U1DTR_out,U2RXD_in,U2CTS_in,U2DSR_in,U2TXD_out,U2RTS_out,U2DTR_out,LEDPWM
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get those comments about each pin, as most of the stuff is same for each pin.
For example all the U0xxx_xx ,U1xxx_xx, U2xxx_xx, MCPWM and LEDPWM. These can be on any pins so no need to comment it there.

Please remove those and just leave the good ones, as ADC pin, TOUCH

@P-R-O-C-H-Y P-R-O-C-H-Y added this to the 2.0.12 milestone Aug 28, 2023
Copy link
Contributor Author

@PradeepKotu PradeepKotu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated as suggested @P-R-O-C-H-Y

@P-R-O-C-H-Y
Copy link
Member

@PradeepKotu please take a look on @atanisoft review and fix it :).
One more question, as the the board.txt all options regarding FLASH, PSRAM are left and available, will the board be on market with different options on those? If not, the options which won't exist with the board should be removed.

As you suggested
Pin
@P-R-O-C-H-Y
Copy link
Member

@PradeepKotu Any comments about my last question about Flash and PSRAM?

@PradeepKotu
Copy link
Contributor Author

PradeepKotu commented Aug 29, 2023 via email

@PradeepKotu
Copy link
Contributor Author

@PradeepKotu Any comments about my last question about Flash and PSRAM?

Dear @P-R-O-C-H-Y
We print small quantities. Sometimes supplier sends us different versions.
so no need to change it

Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks a lot cleaner now.
Btw. there is still comment about support of 5V. Can you explain @PradeepKotu what do you mean by that statement? Thanks

@P-R-O-C-H-Y P-R-O-C-H-Y added Status: Pending Merge Pull Request is ready to be merged and removed Resolution: Awaiting response Waiting for response of author labels Aug 29, 2023
@P-R-O-C-H-Y
Copy link
Member

@PradeepKotu please resolve the conflicts, so we can merge it :)

@PradeepKotu
Copy link
Contributor Author

"This branch has conflicts that must be resolved, Only those with [write access] to this repository can merge pull requests." @P-R-O-C-H-Y Can you merge it for me?

@P-R-O-C-H-Y
Copy link
Member

@PradeepKotu I cannot resolve the conflicts for you and I cannot merge now as the conflicts exists.
Please try to fix them.

@PradeepKotu
Copy link
Contributor Author

@P-R-O-C-H-Y from my end i cant see any conflicts. every thing is fine. how i get to know is there any error?

@P-R-O-C-H-Y
Copy link
Member

@P-R-O-C-H-Y from my end i cant see any conflicts. every thing is fine. how i get to know is there any error?

@PradeepKotu Do you see at the bottom of your PR where is the merge button this?
image

From my end I can see only the message: This branch has conflicts that must be resolved
You have to see more and even the Resolve Conflicts button.

@VojtechBartoska VojtechBartoska added the Resolution: Awaiting response Waiting for response of author label Aug 30, 2023
@VojtechBartoska
Copy link
Contributor

@PradeepKotu Will you be able to resolve those conflicts? We are also not able to modified your Pull Request, probably you will need to open a new Pull Request.

@PradeepKotu
Copy link
Contributor Author

@VojtechBartoska I Fix the issue now we can merge I think .

Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PradeepKotu Conflicts resolved, but some leftovers are there. Please remove those.

Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Lets wait for CI to pass and then it will be merged ;)

@me-no-dev me-no-dev merged commit 8bfe3c4 into espressif:master Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Awaiting response Waiting for response of author Status: Pending Merge Pull Request is ready to be merged Type: 3rd party Boards
Projects
Development

Successfully merging this pull request may close these issues.

5 participants